This repository was archived by the owner on Aug 6, 2026. It is now read-only.
fix: include PR titles in generated task names - #3892
Merged
Conversation
|
😎 Merged successfully - details. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Generated-By: PostHog Code Task-Id: 0c226c8d-1b4d-4527-8d8c-2c0819279f10
MattPua
force-pushed
the
posthog-code/include-pr-title-in-task-names
branch
from
July 28, 2026 18:04
b116ae6 to
4e932fb
Compare
adamleithp
approved these changes
Jul 28, 2026
MattPua
marked this pull request as ready for review
July 28, 2026 19:25
Contributor
Prompt To Fix All With AI### Issue 1
packages/core/src/sessions/titleGeneratorService.ts:43
**PR title corrupts summary framing**
When an existing PR title contains `SUMMARY:`, the new verbatim-copy rule places that delimiter inside the generated `TITLE:` line. The unanchored summary parser then starts inside the PR title, causing malformed conversation-summary context to be stored and used for later commit and PR generation.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Reviews (1): Last reviewed commit: "fix: include PR titles in generated task..." | Re-trigger Greptile |
MattPua
marked this pull request as draft
July 28, 2026 19:31
Generated-By: PostHog Code Task-Id: 511823aa-fc4e-4f54-8064-cc1cecf38807
MattPua
marked this pull request as ready for review
July 28, 2026 19:42
Contributor
|
Reviews (2): Last reviewed commit: "fix: anchor generated summary parsing" | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Tasks created from existing GitHub PRs get generic names that omit the PR title.
Changes
How did you test this?
pnpm exec vitest run packages/core/src/sessions/titleGeneratorService.test.tspnpm typecheckpnpm exec prettier --check packages/core/src/sessions/titleGeneratorService.ts packages/core/src/sessions/titleGeneratorService.test.tsAutomatic notifications
Created with PostHog Code